package ecnu.ecgbackend.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@AllArgsConstructor
@NoArgsConstructor
@Data
@TableName("doctor")
public class Doctor implements Serializable {
    private static final long serialVersionUID=1L;
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;
    private String licenseNumber;
    private String specialization;
    private Integer experienceYears;
    private String education;
    private String certification;
    private String hospitalAffiliation;
    private String department;
    private Integer consultationFee;
    private byte[] license;
    private Boolean isCertified;
}
